@layout("/backend/common/_containerForHis.html"){
<link href="${ctxPath}/static/backend/sds/docapi/sdsmsta2.css" rel="stylesheet">
<#Hidden id="departCode" value="${departCode!}"/>
<#Hidden id="departDesc" value="${departDesc!}"/>
<#Hidden id="officeMap" value="${officeMap}"/>
<#Hidden id="oneOffice" value="yes"/>
<#Hidden id="departMap" value="${departMap}"/>
<#Hidden id="yearMap" value="${yearMap}"/>
<#Hidden id="monthMap" value="${monthMap}"/>
<#Hidden id="userId" value="${userId!}"/>
<#Hidden id="userName" value="${userName!}"/>
<#Hidden id="wardId" value="${wardId!}"/>
<#Hidden id="locId" value="${locId!}"/>
<#Hidden id="type" value="${type!}"/>
<#Hidden id="Role" value="${Role!}"/>

<div class="hisui-panel" id="homeHtmlDesc" style="padding: 10px;"
     data-options="headerCls:'panel-header-gray',iconCls:'icon-analysis'">

    <div style="width:100%;height:30px;">
        <table style="border-collapse:separate;">
            <tr>
                <td class='r-label date' for="startDate">出院日期:</td>
                <td class= "date">
                    <input id="startDate"  class="hisui-datebox textbox"></input>
                </td>
                <td style='padding-left:5px' class='r-label date' for="endDate">至</td>
                <td class="date">
                    <input id="endDate"  class="hisui-datebox textbox"></input>
                </td>
                <td style='padding-left:5px' class='r-label' for="office">院区:</td>
                <td >
                    <input class="hisui-combobox textbox" style="width:145px" id="office" disabled/>
                </td>
                <td style='padding-left:5px' class='r-label' for="depart">科室:</td>
                <td >
                    <input class="hisui-combobox textbox" style="width:145px" id="depart" value="${locId!}" disabled/>
                </td>
                <td style='padding-left:5px'>
                    <a href="#" id="search" class="hisui-linkbutton" onclick = "Home.search()" >查询</a>
                </td>
            </tr>
        </table>
    </div>
</div>
<div style="margin-top: 10px;"></div>
<div class="hisui-panel" id="homeTableDesc"
     data-options="headerCls:'panel-header-gray',iconCls:'icon-paper',tools:'#tt'">
    <div id='tt'>
        <a href="#" class="icon-download" id="exportTable" title="导出表格" onclick="Home.exportTable()"></a>
    </div>
    <!-- Table Start -->
    <div id="tableDiv" style="width:100%;height: auto;margin-top: 2px;">
        <div id="nodataDiv" style="width:100%;height:60px;font-size: 30px;line-height:60px;text-align:center;font-weight:bold; color:#999999">暂无数据</div>
        <table id="departmentTable" style="table-layout: fixed;"></table>
    </div>
    <!-- Table End -->
</div>

<script src="${ctxPath}/static/common/js/vteEcharts.js"></script>
<script src="${ctxPath}/static/backend/sds/docapi/sdsdoc.js"></script>
<script src="${ctxPath}/static/common/js/dateUtil.js"></script>
@}